package com.muyun.data.modeler;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 程序启动入口
 *
 * @author muyun12
 * @date 2020-12-03 22:02:07
 * @since 0.0.1
 */
@Controller
@SpringBootApplication
@EnableTransactionManagement
public class DataModelerApplication {

    public static void main(String[] args) {
        SpringApplication.run(DataModelerApplication.class, args);
    }

    @RequestMapping("/")
    @ResponseBody
    public String helloDataModeler(){
        return "hello data modeler";
    }

}
